package cn.hu.user.mapper;

import cn.hu.user.domain.Logininfo;
import cn.hu.user.domain.User;
import cn.hu.basic.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Hu
 * @since 2022-12-21
 */
@Repository
public interface UserMapper extends BaseMapper<User> {

    User findByPhone(String phone);

    Logininfo findLogininfoById(Long userId);

    User findByLoginInfoId(Long id);
}
